#ifndef _PANDAX_FILEBIN_H__
#define _PANDAX_FILEBIN_H__

typedef struct _filebin
{
	unsigned char* f;
	unsigned long peek_cur;
	unsigned long peek_end;
}FileBin;

FileBin * init_fileBin(const char * fileName);
unsigned char readByte(FileBin * fbin );
short readShort( FileBin * fbin  );
int readInt( FileBin * fbin  );
char* readString( FileBin * fbin  );
char * readString_1(FileBin * fbin);
int readData(FileBin * fbin ,char *data , int length);
char* readUTF( FileBin * fbin);
#endif // px_filebin_h__
